package com.mzpai.web.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
/**
 * 
 * @author yanglijun
 *
 */
@Controller
public class LoginController extends BaseController {
	protected Logger logger = LoggerFactory.getLogger(LoginController.class);
	/**
	 * 列表
	 * @return
	 * @throws Exception
	 */
	@RequestMapping({"", "/", "/index"})
	public ModelAndView getList(HttpServletRequest request, HttpServletResponse response) throws Exception {
		ModelAndView mav = new ModelAndView("/index"); 
		return mav;
	}
	
	/**
	 * 列表
	 * @return
	 * @throws Exception
	 */
	@RequestMapping("/jumpXcx")
	public ModelAndView jumpXcx(HttpServletRequest request, HttpServletResponse response) throws Exception {
		ModelAndView mav = new ModelAndView("/xcx"); 
		return mav;
	}
	
	
	/**
	 * 列表
	 * @return
	 * @throws Exception
	 */
	@RequestMapping("/jumpApp")
	public ModelAndView jumpApp(HttpServletRequest request, HttpServletResponse response) throws Exception {
		ModelAndView mav = new ModelAndView("/app"); 
		return mav;
	}
	
	
	
	


}

